var Person = /** @class */ (function () {
    function Person(name, age) {
        this.name = name;
        this.age = age;
    }
    Person.prototype.sayHi = function (str) {
        console.log('hi,' + str);
    };
    return Person;
}());
var p1 = new Person('张三', 18);
p1.sayHi('张三');
